function ds = expan_duration_sust(notes, i, fs)

ds = (notes(i).release - notes(i).attack)/fs;